#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

#include "udpthread.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

protected slots:
    void Slot_connect();
    void Slot_disconnect();
    void Slot_receive(QByteArray);
    void Slot_send();

private:
    Ui::MainWindow *ui;
    QSharedPointer<UdpThread> m_udpThread;

};
#endif // MAINWINDOW_H
